package org.cainiao.api.lark.imperative.docs.docs.apireference.document;

import org.cainiao.api.lark.dto.request.docs.apireference.ObtainAllBlocksOfDocumentRequest;
import org.cainiao.api.lark.dto.response.LarkDataResponse;
import org.cainiao.api.lark.dto.response.docs.docs.apireference.document.LarkBlockPage;
import org.springframework.http.ResponseEntity;

public interface Document {

    /**
     * 获取文档所有块
     *
     * @param documentId                       文档的唯一标识
     * @param obtainAllBlocksOfDocumentRequest ObtainAllBlocksOfDocumentRequest
     * @return 文档所有的块
     */
    ResponseEntity<LarkDataResponse<LarkBlockPage>> obtainAllBlocksOfDocument(
        String documentId, ObtainAllBlocksOfDocumentRequest obtainAllBlocksOfDocumentRequest);
}
